package com.bjx.flow.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
/**
 * @desc: 流程部署VO实体
 * @author: liushuai
 * @date: 2022/11/1 11:44
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(title = "FlowDesignDeployVO",description = "流程部署实体")
public class FlowDesignDeployVO {

    /**
     * 设计id
     */
    @NotNull(message = "设计id不能为空")
    @Schema(title = "designId",description = "设计id")
    private  Long designId;

    /**
     * 设计内容
     */
    @NotNull(message = "设计内容不能为空")
    @Schema(title = "designContent",description = "设计内容")
    private String designContent;

    /**
     *  设计名称
     */
    @NotNull(message = "设计名称不能为空")
    @Schema(title = "designName",description = "设计名称")
    private String designName;

    /**
     *  流程定义key
     */
    @NotNull(message = "流程定义Key不能为空")
    @Schema(title = "definitionKey",description = "流程定义Key")
    private String definitionKey;
}
